package admin

import (
	"gq_volunteer_platform/bean"
	ServiceAdmin "gq_volunteer_platform/service/admin"

	"github.com/gin-gonic/gin"
)

func Test(c *gin.Context) {

	var organization_my_ids, err = ServiceAdmin.MyOrganizationIds(c, 0)
	if err != nil {
		bean.Log.Warning(err.Error())
		c.String(400, err.Error())
		return
	}

	c.PureJSON(200, organization_my_ids)
}
